package com.hgw.Demo03_DecoratorPattern.Exercises12_7_4;

/**
 * Data time:2021/12/14 19:22
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class ComplexPhone extends PhoneDecorator{
    public ComplexPhone(Phone phone) {
        super(phone);
    }

    @Override
    public void remind() {
        setLampFlashes();
        super.remind();
    }

    public void setLampFlashes() {
        System.out.print("灯光闪烁");
    }
}
